home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 3: CDPD 3
/
Almathera Ten on Ten - Disc 3: CDPD3.iso
/
scope
/
026-050
/
scopedisk29
/
earthq
/
eq.c
< prev
next >
Wrap
C/C++ Source or Header
|
1995-03-18
|
774b
|
33 lines
echo ; /* Note that this declares an int available externally
lc -cwusf -v -sc=__MERGED -M -y EQ.c
blink EQ.o LIB lib:amiga.lib DEFINE _stdout=_echo SD SC ND VERBOSE
quit
*/
#include "exec/types.h"
#include "exec/exec.h"
#include "exec/execbase.h"
#include "libraries/dos.h"
#include "proto/exec.h"
#include "proto/dos.h"
struct DosLibrary *DOSBase;
int printf(char *,);
#define ABSEXECBASE ((struct ExecBase **)4L)
void EQ() /* CLI EarthQuake M.E.S. 88-07-02 */
{
int i;
if (!(DOSBase = (struct DosLibrary *)OpenLibrary("dos.library",0)))
return;
echo = (int)Output();
for (i=0;i < 10; i++)
{
printf("\033[E\033[T");
}
printf("cli Earthquake by \033[2;3mMark Schretlen\033[0m\n");
return;
}